<table class="sortable">
	<thead>	
	<tr>
	<th>Breeding Cage</th>
	<th>Strain</th>
	<th>Parents(M/F)</th>
	<th>Plug Date</th>
	<th>Sacrifice Date</th>
	<th>Duration</th>
	<th>WT</th>
	<th>HET</th>
	<th>KO</th>
	</tr>
	</thead>
	<tbody>
	{% for plug in plug_list %}
	<tr>
	<td><a href="/mousedb/breeding/{{plug.Breeding.id}}">{{plug.Breeding.Cage}}</a></td>
	<td><a href="/mousedb/strain/{{plug.Breeding.Strain.Strain_slug}}">{{plug.Breeding.Strain}}</a></td>
	<td><ul>
		<li><a href="/mousedb/mouse/{{plug.PlugMale.id}}">{{plug.PlugMale}}</a></li>
		<li><a href="/mousedb/mouse/{{plug.PlugFemale.id}}">{{plug.PlugFemale}}</a></li>
	</ul></td>
	<td>{{plug.PlugDate}}</td>
	<td>{{plug.SacrificeDate}}</td>
	<td>	{% if plug.SacrificeDate %}
		{{plug.SacrificeDate|timeuntil:plug.PlugDate}}
		{% else %}
		{{plug.PlugDate|timesince}}
		{% endif %}
	</td>
	<td>{{plug.WT_Alive}}/{{plug.WT_Dead}}</td>
	<td>{{plug.HET_Alive}}/{{plug.HET_Dead}}</td>
	<td>{{plug.KO_Alive}}/{{plug.KO_Dead}}</td>
	<td><a href="/mousedb/plug/new"><img src="/mousedb-media/admin-media/img/admin/icon_addlink.gif" border="none" alt="add" title="Add Plug Event"></a></td>
	<td><a href="/mousedb/plug/{{plug.id}}/edit"><img src="/mousedb-media/admin-media/img/admin/icon_changelink.gif" border="none" alt="edit" title="Edit Plug Event"></a></td>
	<td><a href="/mousedb/plug/{{plug.id}}/delete"><img src="/mousedb-media/admin-media/img/admin/icon_deletelink.gif" border="none" alt="delete" title="Delete Plug Event"></a></td>
	</tr>
	{% endfor %}
	</tbody>
</table>
